package com.wson.model.clouddisk.transaction.impl;

import com.wson.model.basic.IMarkableField;
import com.wson.model.clouddisk.transaction.ICodiskTransactionManip;
import com.wson.model.clouddisk.transaction.ICodiskTransactionMeta;
import com.wson.model.clouddisk.transaction.ICodiskTransactionView;
import com.wson.model.execution.impl.ExecutionModel;

public class CodiskTransactionModel extends ExecutionModel implements ICodiskTransactionManip, ICodiskTransactionView{


	
	@IMarkableField(Attribute=ATTR_SRCACCOUNTID, Syntax=SYNC_SRCACCOUNTID)	
	private  Long srcAccountID;
	
	@IMarkableField(Attribute=ATTR_SRCCLOUDPATH, Syntax=SYNC_SRCCLOUDPATH)
	private  String srcCloudPath;
	
	@IMarkableField(Attribute=ATTR_DESTACCOUNTID, Syntax=SYNC_DESTACCOUNTID)
	private  Long destAccountID;	

	@IMarkableField(Attribute=ATTR_DESTCLOUDPATH, Syntax=SYNC_DESTCLOUDPATH)
	private  String destCloudPath;	
	
	private  Integer maintainType;	
	
	
	@Override
	public Long getMetaID() {
		return ICodiskTransactionMeta.META_ID;
	}


	@Override
	public String getSync() {
		return ICodiskTransactionMeta.SYNC_SELF;
	}


	public Long getSrcAccountID() {
		return srcAccountID;
	}


	public void setSrcAccountID(Long srcAccountID) {
		this.srcAccountID = srcAccountID;
	}


	public String getSrcCloudPath() {
		return srcCloudPath;
	}


	public void setSrcCloudPath(String srcCloudPath) {
		this.srcCloudPath = srcCloudPath;
	}


	public Long getDestAccountID() {
		return destAccountID;
	}


	public void setDestAccountID(Long destAccountID) {
		this.destAccountID = destAccountID;
	}


	public String getDestCloudPath() {
		return destCloudPath;
	}


	public void setDestCloudPath(String destCloudPath) {
		this.destCloudPath = destCloudPath;
	}


	public Integer getMaintainType() {
		return maintainType;
	}


	public void setMaintainType(Integer maintainType) {
		this.maintainType = maintainType;
	}



}
